//
// Created by linyongzhi on 2023/12/11.
//

#ifndef PC_SDK_DEMO_CPHBUFFER_H
#define PC_SDK_DEMO_CPHBUFFER_H

#include <cstdint>

class CPHBuffer {
public:
    int Init(uint32_t capacity);
    int FillInData(uint8_t *data, uint32_t dataLen);
    void DeInit();

    uint8_t *m_data {nullptr};
    uint32_t m_dataLen {0};
    uint32_t m_capacity {0};
};


#endif //PC_SDK_DEMO_CPHBUFFER_H
